<div class="row" ng-controller="userOrderListController">
    <!-- Modal -->
    <div class="col-md-12">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h1 class="panel-title">
                    消费者订单信息汇总
                </h1>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-md-12">
                        <table class="table table-hover table-cell table-bordered">
                            <thead>
                            <tr>
                                <th></th>
                                <th>消费者姓名</th>
                                <th>消费者地址</th>
                                <th>消费者联系方式</th>
                                <th>消费者性别</th>
                                <th>消费者订餐时间</th>
                                <th>消费者订购的餐品</th>
                                <th>消费者订购的餐品数量</th>
                                <th>餐品单价</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr ng-repeat="userOrder in userOrders">
                                <td>{{$index+1}}</td>
                                <td>{{userOrder.userName}}</td>
                                <td>{{userOrder.userAddress}}</td>
                                <td>{{userOrder.userPhone}}</td>
                                <td>{{userOrder.userSex | sexFilter}}</td>
                                <td>{{userOrder.userOrderTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
                                <td>{{userOrder.business}}</td>
                                <td>{{userOrder.foodAmount}}</td>
                                <td>{{userOrder.price}}</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="panel-footer">
                <a href="#/businessWelcome" class="btn btn-info">返回首页</a>
            </div>
        </div>
    </div>

</div>
